package com.sairobo.admin.modules.srblive.service;

import java.util.Map;

import com.sairobo.base.common.entity.Page;
import com.sairobo.base.common.entity.R;
import com.sairobo.admin.modules.srblive.entity.SrbliveLiveroomtype;

/**
 * 直播间类型
 *
 * @author admin
 * @email sairobo
 * @url www.sairobo.com
 * @date 2018年1月11日 下午8:04:39
 */
public interface SrbliveLiveroomtypeService {

	Page<SrbliveLiveroomtype> listSrbliveLiveroomtype(Map<String, Object> params);
	
	R saveSrbliveLiveroomtype(SrbliveLiveroomtype srbliveLiveroomtype);
	
	R getSrbliveLiveroomtypeById(Long id);
	
	R updateSrbliveLiveroomtype(SrbliveLiveroomtype srbliveLiveroomtype);
	
	R batchRemove(Long[] id);

    /**
     * 根据父类型获取子类型
     * @param pid
     * @return
     */
    R getSonTypes(Long pid);
}
